<form autocomplete="off" onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" id="ProductForm" class='form-horizontal layui-form padding-top-20'>

    <!--{if !empty($level)}-->
    <div class="form-group">
        <label class="col-sm-2 control-label">代理等级</label>
        <div class='col-sm-8 text-top'>
            <select required class="layui-select full-width" name="level_id" lay-ignore lay-verify="required">
                {foreach $level as $one}
                {if $vo.level_id eq $one.level_id}
                <option selected="selected" value="{$one.level_id}">{$one.level_name}</option>
                {else}
                <option value="{$one.level_id}">{$one.level_name}</option>
                {/if}
                {/foreach}
            </select>
        </div>
    </div>
    <!--{/if}-->

    <div class="form-group">
        <label class="col-sm-2 control-label">审核结果</label>
        <div class='col-sm-8 text-top'>
            <select required class="layui-select full-width" name="status" lay-ignore lay-verify="required">
                <!--{foreach ["审核状态","通过","拒绝"] as $k=>$v}-->
                {if $vo.status eq "$k"}
                <option selected="selected" value="{$k}">{$v}</option>
                {else}
                <option value="{$k}">{$v}</option>
                {/if}
                <!--{/foreach}-->
            </select>
        </div>
    </div>


    <div class="form-group">
        <label class="col-sm-2 control-label">备注</label>
        <div class='col-sm-8'>
            <textarea class="layui-textarea" name="remark"
                      placeholder="请输入备注">{$vo.remark|default=''}</textarea>
        </div>
    </div>

    <div class="hr-line-dashed"></div>

    <div class="col-sm-7 col-sm-offset-2">
        <div class="layui-form-item text-center">
            {if !empty($vo.agent_id)}<input type="hidden" name="id" value="{$vo.agent_id}">{/if}
            <button class="layui-btn" type="submit">操作</button>
        </div>
    </div>
</form>